package com.fjnu.dao.impl;

import com.fjnu.dao.UserDao;
import com.fjnu.model.User;
import jdk.jfr.Registered;
import org.springframework.stereotype.Repository;

/**
 * @desc:
 * @author:
 * @date:
 */
@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public int insert(User user) {
        return 0;
    }

    @Override
    public int delete(String userId) {
        return 0;
    }

    @Override
    public int updateById(String userId, User newUser) {
        return 0;
    }

    @Override
    public int updatePasswordById(String userId, String oldPassword, String newPassword) {
        return 0;
    }

    @Override
    public User selectById(String userId) {
        return null;
    }

    @Override
    public User selectByUsernameAndPassword(String username, String password) {
        return null;
    }

    @Override
    public int selectCount() {
        return 0;
    }
    /**
     * 注入 connection Bean,利用connection bean来完成对数据库的操作
     */



}
